package controller

import "github.com/gin-gonic/gin"

/**
获取统计数据
*/
func Statistic(c *gin.Context) {

	result := make(map[string]int)
	result["tags"] = 28
	result["views"] = 1680
	result["articles"] = 150
	result["comments"] = 1869

	c.JSON(200, gin.H{"message": "获取统计概览成功", "status": "success", "result": result})

}
